this is really nice! but i get only the left side to work... still trying to figure out how this is working...
Enrique () - 7 years ago - Reply -2
how can i increase decrease the progress bar according to percentage
RajatVerma (-7) - 5 years ago - Reply -7
Works like a charm, for an easy use you can:
.progress .p-100 .progress-bar{
animation: loading-100 2s linear forwards;
}
.progress .p-90 .progress-bar{
animation: loading-90 1.8s linear forwards;
}
.progress .progress-left .progress-bar{
animation-delay: 2s;
}
@keyframes loading-90{
0%{
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100%{
-webkit-transform: rotate(162deg);
transform: rotate(162deg);
}
}
@keyframes loading-100{
0%{
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100%{
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
same with other values, hope it helps
trijulio () - 4 years ago - Reply 0